/**
 * Copyright (c) 2009 17th Camel. 
 * Initial Implementation 
 */
package org.camel.quicksearch.browser;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.internal.browser.BrowserViewer;
import org.eclipse.ui.part.ViewPart;

/**
 * A custom view which holds a BrowserViewer
 * display Internal Web Browser
 * 
 * @author chetu
 *
 */
public class CustomWebBrowserView extends ViewPart {

	/**
	 * 
	 */
	public CustomWebBrowserView() {
		// TODO Auto-generated constructor stub
	}

	BrowserViewer browserViewer;
	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
	 */
	@Override
	public void createPartControl(Composite parent) {
		browserViewer = new BrowserViewer(parent, BrowserViewer.BUTTON_BAR
				| BrowserViewer.LOCATION_BAR);
		// BrowserViewer.BUTTON_BAR
		// | BrowserViewer.LOCATION_BAR

	}

	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
	 */
	@Override
	public void setFocus() {
		// TODO Auto-generated method stub

	}

}
